var mongoose = require('./mongoose.js');
var Curd = require('./curd.js');
var schema = {
    _id: {
        type: String,
        unique: true
    },
    expire;Date,
    desc:String,
    value:Number
}
var model = mongoose("coupon", schema, "coupon").model;

module.exports = new Curd()(model);
